﻿using System.Windows;

namespace TheGameClient
{
	public partial class BrowserIntro
	{
		public BrowserIntro()
		{
			// Required to initialize variables
			InitializeComponent();
			DistortionAnimation.Begin();
		}

		private void BtnInstallGameClick(object sender, RoutedEventArgs e)
		{
			if (Application.Current.InstallState == InstallState.NotInstalled)
				Application.Current.Install();
			else
				MessageBox.Show("It seems this game is already installed. Please start the game from the Start Menu.");
		}
	}
}